package com.study.testSpringBoot.interceptor.service;

import org.springframework.stereotype.Service;

import com.study.testSpringBoot.interceptor.vo.User;

@Service("testService")
public class TestService {

	
	public void test(User user, String nikename) {
		System.out.println("service中："+user);
		System.out.println("service中："+nikename);
		throw new RuntimeException("故意出错的。。。");
	}
}
